package com.qimu.saiyou.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 考试
 *
 * @TableName compete_exam
 */
@TableName(value = "compete_exam")
@Data
public class CompeteExam implements Serializable {
    /**
     * id
     */
    @TableId(type = IdType.ASSIGN_ID)
    private Long id;

    /**
     * 考试名称
     */
    private String examName;

    /**
     * 试卷ID
     */
    private Long paperId;

    /**
     * 比赛id
     */
    private String state;
    /**
     * 考试描述
     */
    private String description;

    /**
     * 总分数
     */
    private Long totalScore;
    private Long competitionId;
    /**
     * 总时长（分钟）
     */
    private Long totalTime;

    /**
     * 及格分数
     */
    private Long qualifyScore;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 是否删除
     */
    private Integer isDelete;

    /**
     * 更新时间
     */
    private Date updateTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}